package kr.ac.kongju.gedl.item.vo;

import java.io.Serializable;

public class ItemFileVO  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5128133416476878311L;
	private String itemFileId = "";
	private String itemId = "";
	private String levelId = "";
	private String fileName = "";
	private String fileId = "";
	private String refTable = "";
	private String basePath = "";
	private String filePath = "";
	private String types = "";
	private String startId = "";
	private String endId = "";
	private String caption = "";
	private String explanation = "";
	private String xpath = "";
	private String fileSize = "";
	private String width = "";
	private String height = "";
	private String isThumbnail = null;
	private String registedDate = "";
	private String register = "";
	private int imageCount = 0;
	public ItemFileVO() {
		super();
	}
	public ItemFileVO(String itemFileId) {
		super();
		this.itemFileId = itemFileId;
	}
	public String getItemFileId() {
		return itemFileId;
	}
	public void setItemFileId(String itemFileId) {
		this.itemFileId = itemFileId;
	}
	public String getItemId() {
		return itemId;
	}
	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	public String getLevelId() {
		return levelId;
	}
	public void setLevelId(String levelId) {
		this.levelId = levelId;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getRefTable() {
		return refTable;
	}
	public void setRefTable(String refTable) {
		this.refTable = refTable;
	}
	public String getBasePath() {
		return basePath;
	}
	public void setBasePath(String basePath) {
		this.basePath = basePath;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getTypes() {
		return types;
	}
	public void setTypes(String types) {
		this.types = types;
	}
	public String getStartId() {
		return startId;
	}
	public void setStartId(String startId) {
		this.startId = startId;
	}
	public String getEndId() {
		return endId;
	}
	public void setEndId(String endId) {
		this.endId = endId;
	}
	public String getCaption() {
		return caption;
	}
	public void setCaption(String caption) {
		this.caption = caption;
	}
	public String getExplanation() {
		return explanation;
	}
	public void setExplanation(String explanation) {
		this.explanation = explanation;
	}
	public String getXpath() {
		return xpath;
	}
	public void setXpath(String xpath) {
		this.xpath = xpath;
	}
	public String getFileSize() {
		return fileSize;
	}
	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}
	public String getWidth() {
		return width;
	}
	public void setWidth(String width) {
		this.width = width;
	}
	public String getHeight() {
		return height;
	}
	public void setHeight(String height) {
		this.height = height;
	}
	public String getIsThumbnail() {
		return isThumbnail;
	}
	public void setIsThumbnail(String isThumbnail) {
		this.isThumbnail = isThumbnail;
	}
	public String getRegistedDate() {
		return registedDate;
	}
	public void setRegistedDate(String registedDate) {
		this.registedDate = registedDate;
	}
	public String getRegister() {
		return register;
	}
	public void setRegister(String register) {
		this.register = register;
	}
	
	public int getImageCount() {
		return imageCount;
	}
	public void setImageCount(int imageCount) {
		this.imageCount = imageCount;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((itemFileId == null) ? 0 : itemFileId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ItemFileVO other = (ItemFileVO) obj;
		if (itemFileId == null) {
			if (other.itemFileId != null)
				return false;
		} else if (!itemFileId.equals(other.itemFileId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ItemFileVO [basePath=");
		builder.append(basePath);
		builder.append(", caption=");
		builder.append(caption);
		builder.append(", endId=");
		builder.append(endId);
		builder.append(", explanation=");
		builder.append(explanation);
		builder.append(", fileId=");
		builder.append(fileId);
		builder.append(", fileName=");
		builder.append(fileName);
		builder.append(", filePath=");
		builder.append(filePath);
		builder.append(", fileSize=");
		builder.append(fileSize);
		builder.append(", height=");
		builder.append(height);
		builder.append(", isThumbnail=");
		builder.append(isThumbnail);
		builder.append(", itemFileId=");
		builder.append(itemFileId);
		builder.append(", itemId=");
		builder.append(itemId);
		builder.append(", levelId=");
		builder.append(levelId);
		builder.append(", refTable=");
		builder.append(refTable);
		builder.append(", registedDate=");
		builder.append(registedDate);
		builder.append(", register=");
		builder.append(register);
		builder.append(", startId=");
		builder.append(startId);
		builder.append(", types=");
		builder.append(types);
		builder.append(", width=");
		builder.append(width);
		builder.append(", xpath=");
		builder.append(xpath);
		builder.append("]");
		return builder.toString();
	}
	
	
}
